home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / Libraries / C Internet Config / IC Read Only ƒ / IC Headers ƒ / IC API Descriptions.h < prev    next >
Encoding:
Text File  |  1995-11-17  |  21.4 KB  |  46 lines  |  [TEXT/SPM ]

  1. /*
  2.     IC API Descriptions.h
  3.     
  4.     Describes each of the functions for the IC routines.
  5.     
  6. */
  7.  
  8. #if 0
  9.  
  10. /* ***** Starting Up and Shutting Down ***** */
  11.  
  12. ICError ICStart(ICInstance* inst,OSType creator);
  13. /*
  14.     Call this at application initialisation. Set creator to your application
  15.     creator to allow for future expansion of the IC system. Returns
  16.     inst as a connection to the IC system.
  17. */
  18.  
  19. ICError ICStop(ICInstance inst);
  20. /*
  21.     It is illegal to call this routine inside a ICBegin/End pair.
  22.     Call this at application initialisation, after which inst
  23.     is no longer valid connection to IC.
  24. */
  25.  
  26. /* ***** Specifying a Configuration ***** */
  27.  
  28. ICError ICFindConfigFile(ICInstance inst,short count,ICDirSpecArrayPtr folders);
  29. /*
  30.     It is illegal to call this routine inside a ICBegin/End pair.
  31.     Call to configure this connection to IC.
  32.     Set count as the number of valid elements in folders.
  33.     Set folders to a pointer to the folders to search.
  34.     Setting count to 0 and folders to nil is OK.
  35.     Searches the specified folders and then the PreferencesMapEntry(ICInstance inst,Handle entries,ICMapEntry* entry);
  36. /*
  37.     Requires IC 1.1.
  38.     You must specify a configuration before calling this routine.
  39.     You do not have to be inside an ICBegin/End pair to call this routine.
  40.     Adds an entry to the mappings database.
  41.     entries must be a handle to a valid IC mappings database preference.
  42.     The entry is added to the end of the entries database.
  43.     No user data is added.
  44. */
  45. #endif
  46.